package cn.lyd.user.mapper;

import cn.lyd.user.domain.User;
import cn.lyd.base.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lyd
 * @since 2022-12-30
 */
public interface UserMapper extends BaseMapper<User> {

    //根据手机号查询用户
    User findByPhone(String phone);

//    通过logininfo的id查询userid
    User findByLoginInfoId(Long id);

}
